cloudbridge2fa\Cloudbridge_2FA D

Total Complexity 344
Dependencies 5
Dependents 1
Total lines 1,441
Lines of code 1,152
Logical lines of code 718
Comment lines 285
Methods 43
Properties 23

Methods 43

Method Rating Maintainability Complexity Lines of code
cb2fa_admin_import()
D
26
43 130
cb2fa_post_wp_authenticate()
D
27
43 117
cb2fa_admin_page()
D
23
29 200
__construct()
C
33 29 88
cb2fa_is_plugin_admin()
C
40 27 54
cb2fa_get_wordpress_admin_users()
B
47 17 34
cb2fa_settings()
A
44 13 38
cb2fa_make_icon_html()
A
46 11 40
cb2fa_login_form()
A
53 12 20
cb2fa_setting_sanitize_roles()
A
53 9 22
cb2fa_setting_sanitize_cookies()
A
53 9 22
cb2fa_setting_sanitize_admin_users()
A
53 9 21
cb2fa_get_wp_roles()
A
48 7 33
cb2fa_setting_sanitize_cookie_lifetime()
S
57 7 15
cb2fa_admin_export()
S
45 5 40
cb2fa_setup_other()
S
60 5 11
cb2fa_admin_debug_update_option()
S
56 4 17
cb2fa_admin_debug_updated_option()
S
57 4 16
cb2fa_setting_sanitize_code_input_text_addon()
S
63 5 9
cb2fa_setting_sanitize_textarea_setting()
S
64 5 9
cb2fa_setting_sanitize_code_lifetime()
S
63 5 9
cb2fa_settings_link()
S
57 4 15
cb2fa_setup_public_css()
S
58 4 14
run()
S
58 3 15
cb2fa_has_admin_roles()
S
64 4 10
cb2fa_menu()
S
51 2 30
cb2fa_hide_plugin()
S
63 4 10
cb2fa_resource_mtime()
S
62 4 10
cb2fa_admin_debug_add_option()
S
64 3 9
cb2fa_auth_form()
S
62 3 10
setup_locale()
S
70 2 6
getInstance()
S
75 2 4
cb2fa_code_email_text_addon()
S
68 1 7
cb2fa_setting_cookie_lifetime()
S
68 1 7
cb2fa_setting_code_email_subject()
S
67 1 7
cb2fa_setting_remove()
S
67 1 7
cb2fa_setup_admin_css()
S
64 1 10
cb2fa_code_input_text_addon()
S
70 1 6
cb2fa_admin_alert_plugin_activated()
S
63 1 9
cb2fa_admin_alert_missing_mbstring()
S
67 1 8
cb2fa_setting_code_lifetime()
S
68 1 7
cb2fa_getnonce()
S
81 1 3
cb2fa_active_roles()
S
80 1 3